﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NoidungComponent.BLL;

namespace NoidungComponent.DAL
{
    public interface INoidungDAL
    {
        #region Connection
        string Connection { get; set; }
        #endregion

        #region Method
        void Get(Noidung noidung);
        int Add(Noidung noidung);
        void Update(Noidung noidung);
        void Delete(Noidung noidung);
        List<Noidung> GetAll(int currentPage, int pageSize, out int total, string tieude, string column_sort, string type_sort);
        #endregion
    }
}
